'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  const jinr = controller.jinr
  router.post('/activity/pushMessage', jinr.pushEvent.pushMessage);
  router.post('/activity/test', jinr.ts.tc);
};